// src/router/modules/pro.js
import Layout from '@/layout/index.vue'
import incomelist from '@/views/bill/incomeBill.vue'
import outcomelist from '@/views/bill/outcomeBill.vue'
// import BillSearch from '@/views/bill/search.vue'  // 删除不需要的导入

export default {
  path: '/bill',
  redirect: '/bill/incomelist',
  component: Layout,
  name:'bill',
  meta:{
    title: '账单列表',
    icon: 'Fries'

  },
 children: [ // 代表账户管理下有二级路由
     {
       path: '/bill/incomelist',
       component: incomelist,
       meta: {
         title: '收入账单'
       }
     },
     {
       path: '/bill/outcomelist',
       component: outcomelist,
       meta: {
         title: '支出账单'
       }
     }
   ]
}
